import axios from '@/utils/axios'

let getOrderURL = '/orderservice/order/getOrderOfPay'
let addOrderURL = '/orderservice/order/addOrder'
const order = {
    getOrder: function(data){
        return axios.post(getOrderURL, data)
    },
    addOrder: function(data){
        return axios.post(addOrderURL, data);
    }
}

export default order